{include file="public/head" title="二维码" keywords="二维码" description="二维码" /}
<style>

</style>
<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
    <!-- 菜单容器 -->

    <div class="mui-inner-wrap">
        <div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper" style="background-color: #fff;">
            <div class="mui-scroll">
                <header class="tx_head">
                    <p>
                        <a href="{:url('index')}" class="header_p1"><span class="mui-icon mui-icon-arrowleft"></span></a>
                    <h5>我的二维码</h5>
                    </p>
                </header>
                <main class="wdzh_main">
                    <section>
                        <ul>
                            <li class="jyjl_li" style="border-bottom: 7px solid #f3f3f3;line-height: 0;height: 0.1rem;">
                            </li>
                            <li style="height: 100%;line-height: 100%; text-align: center;margin-top: 30%;">
                                <span id="output"></span>
                            </li>
                        </ul>
                    </section>
                    <input type="hidden" value="{$userid}" name="userid">

                </main>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
            </div>
        </div>
        <div class="mui-off-canvas-backdrop"></div>
    </div>
</div>
{include file="public/footer"}
<script type="text/javascript" src="__STATIC__/wap/js/jquery.qrcode.min.js"></script>
</body>
<script>
    var userid=$("input[name=userid]").val();
    jQuery(function(){

        jQuery('#output').qrcode({
            width: 120,
            height: 120,
            text:"https://weixiou.cn/index/account/index?userid="+userid,
        });

    })

</script>
</html>